package com.project.class8_16;

import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        List<CarBean> list = new ArrayList<>();
        list.add(new CarBean(1,"宝马","白色",400000));
        list.add(new CarBean(4,"大运","黑色",120000));

        System.out.println(list);

    }
}
